package se480.tracker.client;

import org.apache.log4j.Logger;

import se480.tracker.event.TrackerEvent;
import se480.tracker.proxy.TrackerProxy;

/**
 * Client class for updates
 * 
 * @author mmichalak
 *
 */
public class UpdateClient {
	static Logger logger = Logger.getLogger(UpdateClient.class.getName());
	
	TrackerProxy proxy = null;
	
	public void sendUpdate(TrackerEvent ev) {
		proxy.processRequest(ev);
	}

	public TrackerProxy getProxy() {
		return proxy;
	}

	public void setProxy(TrackerProxy proxy) {
		this.proxy = proxy;
	}
}
